<template>
	<view>
		<view>{{num}}</view>
		
	</view>
</template>

<script setup>
	import {ref} from "vue"
	const num = 5;
	console.log(num)
	// setInterval(()=>{
	// 	num++;
	// 	console.log(num)
	// },1000)
	
	let num2 = ref(2);
	console.log(num2.value)
	// setInterval(()=>{
	// 	num2.value = num2.value + 2
	// 	console.log(num2.value)
	// },1000)
</script>

<style>

</style>
